<%@ tag pageEncoding="UTF-8" %>
<%--<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>--%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<% if (session.getAttribute("account") == null) { %>
<script language='javascript'>
    //alert('请先登录');
    top.location.href = '/${pageContext.request.contextPath}/login.jsp';
</script>
<% } %>

</head>

<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>LINBIKE</title>

    <!-- Fav and touch icons -->
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/images/linbike.ico" type="image/x-icon"/>
    <frame-options policy="SAMEORIGIN"/>
    <!-- Bootstrap Core CSS -->
    <link href="${pageContext.request.contextPath}/js/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet">
    <!-- MetisMenu CSS -->
    <link href="${pageContext.request.contextPath}/css/metisMenu.min.css" rel="stylesheet">
    <!-- Timeline CSS -->
    <link href="${pageContext.request.contextPath}/css/timeline.css" rel="stylesheet">
    <!-- Custom CSS -->
    <link href="${pageContext.request.contextPath}/css/sb-admin-2.css" rel="stylesheet">
    <!-- Custom Fonts -->
    <link href="${pageContext.request.contextPath}/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- jQuery -->
    <script src="${pageContext.request.contextPath}/js/jquery/1.11.3/jquery.min.js"></script>
    <!-- Bootstrap Core JavaScript -->
    <script src="${pageContext.request.contextPath}/js/bootstrap/3.3.6/bootstrap.min.js"></script>
    <!-- Metis Menu Plugin JavaScript -->
    <script src="${pageContext.request.contextPath}/js/metisMenu.min.js"></script>
    <script src="${pageContext.request.contextPath}/js/sb-admin-2.js"></script>
    <%--ztree--%>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/zTreeStyle/zTreeStyle.css" type="text/css">
    <script src="${pageContext.request.contextPath}/js/ztree/jquery.ztree.core.js"></script>
    <script src="${pageContext.request.contextPath}/js/ztree/jquery.ztree.excheck.js"></script>
    <script src="${pageContext.request.contextPath}/js/ztree/jquery.ztree.exedit.js"></script>
    <%--图片和视频样式--%>
    <link href="//cdn.bootcss.com/bootstrap-fileinput/4.2.7/css/fileinput.min.css" media="all" rel="stylesheet" type="text/css"/>
    <script src="//cdn.bootcss.com/bootstrap-fileinput/4.2.7/js/fileinput.min.js"></script>
    <script src="//cdn.bootcss.com/bootstrap-fileinput/4.2.7/js/fileinput_locale_zh.js"></script>
    <%--自定义UI--%>
    <script src="${pageContext.request.contextPath}/js/jquery-ui/jquery-ui.js"></script>
    <%--公用css --%>
    <link href="${pageContext.request.contextPath}/css/public.css" rel="stylesheet" type="text/css">
</head>
<script>
    var ctxPath = "<%=request.getContextPath() %>";
</script>

<body>
<div id="wrapper">
    <jsp:doBody/>
</div>
</body>
</html>
